import Vue from 'vue'
import App from './App'

// 引入全局uView
// main.js
import uView from 'uview-ui'
import store from './store/index.js'
uni.$u.config.unit = 'rpx'
Vue.prototype.web = "wss://swettyssssss.top/renren-fast/game/match/"
// Vue.prototype.web ="ws://localhost:8080/renren-fast/game/match/"
Vue.prototype.baseUploadUrl = "https://swettyssssss.top/renren-fast/app/upload"
Vue.prototype.appid="wxf741886c6d73786e"
Vue.use(uView);

Vue.config.productionTip = false
import filters from './common/filter.js'


// 添加全局filterx
Object.keys(filters).map(v => {
    Vue.filter(v, filters[v])
})

	
App.mpType = 'app'

const app = new Vue({
 ...App,
 store
})

require('config/request.js')(app)

app.$mount()